﻿using System.Collections.Generic;
namespace SharPy.Parser
{
    //Class for sending commands from parser to screen

    public class clCommand
    {
        public enum Name
        {
            DoNothing,
            AddImage,
            SetBackground,
            PlayMusic,
            StopMusic,
            ShowText,
            ShowImage,
            HideImage,
            ScreenAnimation,
            Comment,
            ShowMenu,
            ShowNVL,
            JumpToLabel,
            JumpToLine,
            Error,
            EndGame
        }

        public Name sName;
        public List<string> sParameter = new List<string>();

        public clCommand(Name pName, string pParam1 = null, string pParam2 = null, string pParam3 = null)
        {
            this.sName = pName;
            this.sParameter.Add(pParam1);
            this.sParameter.Add(pParam2);
            this.sParameter.Add(pParam3);
        }

        public clCommand()
        {
            ;
        }
    }
}
